Sbyte[] vs byte[][] using methods
Posted
by blgnklc
on Stack Overflow
See other posts from Stack Overflow
or by blgnklc
Published on 2010-06-08T08:07:17Z
Indexed on
2010/06/08
8:12 UTC
Read the original article
Hit count: 216
It is written
byte[][] getImagesForFields(java.lang.String[] fieldnames)
Gets an array of images for the given fields.
On the other hand, as long as I use the method in the web application project built on asp.net 2.o using c#;
the provided web method declared above, returns sbyte; Have a look my code below;
formClearanceService.openSession(imageServiceUser);
formClearanceService.prepareInstance(formId);
byte[][] fieldImagesList = formClearanceService.getImagesForFields(fieldNames);
formClearanceService.closeSession();
thus I get the following error: Cannot implicitly convert type 'sbyte[]' to 'byte[][]'
So now, 1- should I ask the web service provider what is going on? or 2- any other way that can use the sbyte as I was suppose to use byte[][] like following using: byte[] ssss = fieldImagesList [0]..
© Stack Overflow or respective owner